 vbnmmmmm<%@page import="Exam.ConnectionUtil"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.sql.*"%>
  <%
   Connection conn = ConnectionUtil.getConnection();
   Statement stmt = conn.createStatement();
   String xm = request.getParameter("xm");
   String xb = request.getParameter("xb");
   stmt.executeUpdate(String.format("insert into tb (xm,xb) values('%s','%s')",xm,xb));
   
      out.println("<script>");
           out.println("alert('注册成功!')");
           out.println("</script>");
          
   %>


